import request from '@/utils/request'

// api地址
const api = {
  list: 'appointment/list',
  create: 'appointment/create',
  timeList: 'appointment/timeList',
}

// 预约列表
export const list = param => {
  return request.get(api.list, param)
}

// 预约详情
export const create = param => {
  return request.post(api.create, param)
}

// 预约列表
export const timeList = param => {
  return request.get(api.timeList, param)
}

